package com.ruoyi.project.datamanagement.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 数据源对象 data_sources
 * 
 * @author anan
 * @date 2021-01-09
 */
@Data
@TableName(value = "data_sources")
public class DataSources extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId
    private Long dataSourceId;

    /** 数据源名称 */
    @Excel(name = "数据源名称")
    private String name;

    /** URL */
    @Excel(name = "URL")
    private String url;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 驱动 */
    @Excel(name = "驱动")
    private String driver;

    /** 代码 */
    @Excel(name = "代码")
    private String code;

    /** 数据库类型 */
    @Excel(name = "数据库类型")
    private String databasetype;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

}
